<template>
    <div class="friendsRequestWrapper">
        <FriendRequestItem v-for="item in friendStore.friendsRequests" :key="item.id" :item="item"/>
    </div>
</template>
<script lang="ts" setup>
// 导入工具
import useFriendStore from '@/stores/friendStore';
// 导入组件
import FriendRequestItem from './FriendRequestItem.vue';
// 创建属性
const friendStore = useFriendStore();
</script>
<style lang="less" scoped>
.friendsRequestWrapper {
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
}
</style>